<template>
    <div class="pageTitle" > 
        <span @click="goBack" class="goBack">{{'<'}}</span>
        {{title}} 
    </div>
</template>

<script setup>
import {defineProps} from 'vue'

const props= defineProps(["title"])
const goBack=()=>{
    window.history.go(-1)
}
</script>


<style lang="less" scoped>
.pageTitle{
    position: relative;
    font-size: 24px;
    .goBack{
        position: absolute;
        left: 0;
        text-align: left;
    }
}
</style>